package org.xiaoyu.txy.live.model.message.req;

import org.xiaoyu.txy.live.LiveCodeConstant;
import org.xiaoyu.txy.live.model.BaseReqParams;

import com.alibaba.fastjson.annotation.JSONField;

public class GetLiveStat extends BaseReqParams{

	/**
	 * 	分页页码 从1开始，默认为1
	 */
	@JSONField(name = "Param.n.page_no")
	private Integer page_no;
	
	
	/**
	 * 分页大小  1~300，默认为300
	 */
	@JSONField(name = "Param.n.page_size")
	private Integer page_size;
	
	
	/**
	 * 直播码  	如不设置stream_id：查询所有正在直播中的流
	 */
	@JSONField(name = "Param.s.stream_id")
	private String stream_id;

	public GetLiveStat(Integer appid, Integer extime, String sign, String channel_id, Integer pageNo, Integer pageSize) {
		super.setAppid(appid);
		super.setExpire_time(extime);
		super.setSign(sign);
		super.set_interface(LiveCodeConstant.GET_LIVE_STAT);
		this.page_no = pageNo;
		this.page_size = pageSize;
		this.stream_id = channel_id;
	}
	
	public Integer getPage_no() {
		return page_no;
	}

	public void setPage_no(Integer page_no) {
		this.page_no = page_no;
	}

	public Integer getPage_size() {
		return page_size;
	}

	public void setPage_size(Integer page_size) {
		this.page_size = page_size;
	}

	public String getStream_id() {
		return stream_id;
	}

	public void setStream_id(String stream_id) {
		this.stream_id = stream_id;
	}
	
	
	
}
